package com.etc.dao;

import com.etc.entity.Collection;

public interface CollectionDao {
	/**
	 * 添加一条收藏记录
	 * @param customerId
	 * @param gamesId
	 * @return
	 */
	int add(Integer customerId, Integer gamesId);
	/**
	 * 查询单个收藏
	 * @return
	 */
	Collection findByCustomerIdAndGamesId(Integer customerId, Integer gamesId);
	
	/**
	 * 删除单个收藏
	 * @param customerId
	 * @param gamesId
	 * @return
	 */
	int deleteByCustomerIdAndGamesId(Integer customerId, Integer gamesId);
}
